package com.dsj.cloud.consume.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "config-client",fallback = SchedualServiceHiImp.class)
public interface SchedualServiceHi {
	
	@RequestMapping(value = "/api", method = RequestMethod.GET)
	String sayApiFromClient(@RequestParam(value = "name") String name);
}